added inbuilt result storage