added splice() operator