simplify splice