added History Listener