Rest merge