basic index.js structure