add doc for ps2.py