change method in LinesManager