Added some more functionality to the light