update the code to handle the renamed get_PP method