add utility method to protocol utils