added a query to test the performance