switch to memory instance, initialize with each launch