changed makefile and getlines.  still makes errors