tweaking query 2