turn enum VelocityType into enum class