convert unnamed enum into enum class Pad