Code from the thinkster.io walk-through.