xid from STMFunctions