finish inv of cdf