adding in db.initilize()