Removed unnecessary Vector, replaced with ArrayList.