changed some stuff in main.js