readable main.js for testing purposes