adding add protocols
finished addProtocol