consolidate into models.py