added 2 interfaces, charset and dicts