adding 1-d array experiment