added uncertainity handling