implemented NOResourceProtocol