add extract merge case