enum conditionals