redefining db_init