added queryString fn