updating protocol to use numbers, refactoring, clearing timeouts