Changed example toke app. Lots of room for improvement.