setters and getters for protocol; query;