switched lights lib