final tutorial version before my edits