updated to final version of tutorial