check commands