change new to create in index.js