Provide a way to use SampleResult