continuing converting to CoffeeScript