testing 2d array gathering