fixing tutorial (fixes issue #20)