Added pp functions.