Use ArrayList.