finish query 2