Changed Model for Python 3