query 4 added
Query 4 coded up