changed most to coffeescript