should modify mocc.py.