Light cycles and temperature queries