working queries! hooray