added toe examples to the code blocks
fixed refactoring bug (mis-typed variable name)