Richard was not playing attention to his teacher and therefore missed the main points of the lecture. What process of memory would be immediately affected by Richard's lack attention?