erase tool functional