def store(self, msg, stuff_to_store, *args, **kwargs):
trajectory_name = kwargs['<STR_LIT>']<EOL>if trajectory_name not in self.references:<EOL><INDENT>self.references[trajectory_name] = []<EOL><DEDENT>self.references[trajectory_name].append((msg, cp.copy(stuff_to_store), args, kwargs))<EOL>
Simply keeps a reference to the stored data