started implementing merging on corpus-structure