working on coffeescript version