added notes in main.js