whoops, signs and fractions were wrong