add erase method and live mode