used new betranshlp.c framework