initial history mode
Merge pull request #2 from luckyx1/history

initial history mode