add encoder/decoder commands