add public query