A more coffeescript-like approach