Query 5 and 7 work