updated documentation to add Result object