new file:   FOA_scheme.py