centralized the list splicing