distinguish two lines