add encoding property