changes in tutorial.js