turn unnamed enum into enum class TEXT