commands checking