print formatting not working for large attributes, query6 synax error, queries 4, 5, 7 very long, query3 possibly returning incorrect results
merged