this is changed main.js file