rewrite merge examples