adding history to shell