Implemented the content of the tutorial.