add saved results functionality