add query provider