specify a query wich is used on the model