rename local var 'data' → 'sample'  to prevent clobbering function level var.
rename local var 'data' → 'sample'  to prevent clobbering function level var.

Caught by @jsandoe

concord-consortium/building-models,concord-consortium/building-models,concord-consortium/building-models,concord-consortium/building-models,concord-consortium/building-models