playing around and finishing up index.js