problem 2, coffeescript