updated query 1.10