tweaks to tutorial example