added dependency on reachable lights