improvements to Result