Turning fireflies on and off