Make use of last_insert_id