initial code from tutorial split apart using erb and Makefile