removed obsolete code on models.py