line segment added
minor updates