changes story to memory