experimenting with 1d,2d,3d arrays