template done and makefile works