add predictive mode from tar. Melpa version is broken