removed protocol.h from header file