function comment in model_old.py