added result storage