add Merger class (not yet tested, but compiles OK)