Added the query provider