remove batch mode learning; add longterm memory step 1