begin insert and finish erase