lights.c changes