work on using XDR as data interchange format