change ArrayList to Vector cause Vector is synchronized