how to determine lifespan of a light