subclassing Line