draft tutorial rewrite