got 2d array working