change splice to slice