more work on XDI inner roots
updated examples