tinymodel refactored
pep8