allow for multidimension arrays