Modified example to do actual bytecode manipulation (simple though)