Added a patch with multi array class. Please review