access via multi-dimensional index from arrays