add begining of light management