added p_con.py