ready to write index.js