sample to test the query editor