tweaked the multidimensional array stuff and commented it out