final version of the tutorial