add pname event