problem 8, coffeescript