added init_db (and not sure if the db file went thru as well)