Adding way of comparing lines
Improved structure; gives summary