character mapping working