updated tutorial with changes