merging ui