ported in new xport libs