add create_encoding_source