Adding a not so working version of query 7, and a working version of query 8