made changes to use enum class and remove allowableValues