working patch method
Merge pull request #23 from bohnje/patch_implement

working patch method