Converted to literate coffeescript