effed around in main.js