vecotr interface expanded. erase chaged to clear. tests added