historyViewer finalised. summary set up