revise decoysgp.py (need test)