modified main.js for tetst