[wip] working on safe int (templ) and Makefile