Implemented move group append logic