switching to coffeescript