[Evgeny, Jason] spliceItem function