wrong exponent calculation corrected