adds p() function and ph alias