initial version of tprinft