started the code for lighting