Changed light logic