gotta pass the query into db.query