chain - erase func implementation