ntor prototype