simplified default handleCommand
simplified default handleCommand