refining cdf; adding sample