changes to sendCommand as tested with strict