first round of simple queries working