store results in memory