comparing the lines