Add pseudo code for command_matching