change light switch to not static