resolving query 3