trying to get array working