code more detail about command processing