immunologic memory allows for