adding history view