first pass at index.js