created ntrans and ptrans helpers