data now displayed in 2D array