Finished query.clj