Virtual methods on class Line done