Use return value of db_insert