Added Pdf functions 2, 3, and 4