more coffeescript functions added