adding history panel