a few changes to tutorial