working chunkEnd. about to start deleteText function
probably working insert and remove OT function