Application written for a contest at Treehouse (teamtreehouse.com).