watched boxes and sensors are now objects, not arrays