First draft of Dan's tutorial