modify op.py, add missing method