added class Line, needs to be tested