adding history backwards searching with up.