converted to makefile