The code from the tutorial.