revised the splicing arrays post
merge source