Added a bit more to the tutorial code