added char mapping