functioning erase button