adding auto erase