broken approach, because Object.keys returns an object, not an array