modified key words in main.js