adding a query limit