working on history tab