updated index.js for testing purposes.