finish def cxg