@pcockerell does it make sense to open and close a db every time this method is called? Or just keep around a db object instead?