frame merge