add basic 1d array