Starting to get the queries working.