edit resistance functions