Renamed the query method