implement ANN/ORN/XRN (untested) (contributes to #21)