add command check