adjustments in main.js