adding in history command