brought fraction stuff back
moved fraction stuff to models.py