fixed typos and added methods for the queries

The method queries are empty. Waiting for yours. :)