modified py into p3