made plan for multi-dimensional arrays