add groping of encodings