added method to compare lines of modified cells