new makefile
started new method with thread