all queries working