use enum class, checkstyle fix