added an additional example of a function