Merging the Topic code