Draw Segment line working