change the query method reference