Lab with if not switch