Added a sample function as a style guide.