following tutorial for egghead.io