Added example code to the end of the file.