ability to optionally retrieve uncertainty on return values