implement main.py and change the function name in proprocess