new mapping in cpp