added the PPF function (with low precision)