creating a subpatch/