modified:   optMethods.py