fractions changed a bit, still doesn't work. ADded more error checking in parser