changing protocol to be enum class