add merge cluster function in MyApplication