array take care of indices