fixed light and switch logic