change eachInt to eachEqualInt