changed light numbers from 1-2 to 0-1