added intialize to index.js