17:added foo function in index.js