new version of process.py