merging and framework