updated index.coffee