request_type to enum class and then abck