added rounding and fixed function analysis