added check history command