implemented splice
implemented splice
fixing errors
implemented splice