Add setResult()