Minor error with the adding segment example.