restore misdeleted pi3d2.py