Two-dimensional arrays within three-dimensional arrays