first draft to unpack XBT