changing printfs to model_prints