tweaked issue w/ array in index.js