better mocking of a db, i think?