implemented subject merger