updated cModel.py