turn enum Repeat into enum class

worth the effort?