Added p2mu function