learn enum class usage