Conditional Dispatcher to Command Pattern