changed insert_id() to insert_id