A solution for the quest http://codetag.me/quest/2/