started working on querys