checking command