first implementation of fractions..some things should work otherwise