added REQUIRE
confidence range
added missing export
absorb floating point error