make the flashlight a bit more efficient