PH Multi Define function