Would someone offer a good patch example using Machine.add, .remove, .replace? I am following the manual, yet receiving "in declaration" errors— I'm confused.