Started working on the queries.