Changed cdf, still needs further adjustment