expect the db to be provided in the constructer