Implement result-saving feature