adds char_set implementation