use charmaps array