Switch Statement With Boolean Logic