you can use db.output here instead - slightly less typing