Code for a tutorial