added an array, an interpolation and iterated the array