better docs for adding pp functions