add offset file
update makefile