use enum class