Began work on querys