Added defining of db_inserted