worked on NOSessionProtocol and NOResourceProtocol