don't use for-in without a conditional to rule out bad stuff. if data is an array, use .forEach, if it's an object, what are we looking for here?