encoding of cmd