adding history to device