add methods for ArrayND