first couple calls work
added generate target to Makefile