changes in main.js