first tests, improve traffic light logic