Added erase method