new subclasses of Segment class