divided each command into tokens