queries 1-7