wip AXFR: refactor output funcs