working on CDFs