examples for enum class and old enum