add history viewer

add history viewer