the computation of the history log should be do on thread
the computation of the history log should be do on thread