edited index.coffee