fixing up and down with models.py