Add splice and patch