some additions to tutorial