query2 1st attempt