Queries 1-5 in debug mode