generalized
encoding