add mode-mapping