- attempted to add helper function in models.py