Attention and memory in real time