try again flattening this data structure of lights