modified grammar.coffee