first version with original longterm memory idea