smell in commandProcessor