small corrections
putting together the queries
on panel 4