functional js workshop, issue#7