removed the need of p_phi