added example for modifying a return value mid-run