add mapping mechanism in wx input record