changed protocol to fit milestone 1