Added lab5 protocol