Using a 2D array