added PatchArray Class