hexns: pass tm argument