Lighting class updated

finaly works