Implemented Query Protocol