implementation XHFountionCommon logic