adding history entry