Changed the loop over protocols