add back query 6 and use 2 methods to run it