adding index.js moved from exmaples