Example of functions within a function.