finish adding history feature