The effect of committing to memory is learning