working on cmd check