initial work on lights tab -  basic functioning