Changed fetch method to a case based on protocol