array merge phase 3