Simplify sendCommand