add result for plotting graph