make performQuery public