change to dynamic array
change to arrayList Type