command encoding.