finish gipt.py