some additional merging steps