beautified with CoffeeScript