Added erase. Please check to make sure it is ok.