Changing the code examples to use the right name function