defaultCommandHandler implemented (without tests)