operation to compare 2 sequence layers added