Added merged_rev to create mapping