queries 3-6