Swapped out Array with ArrayList
Swapped out Array with ArrayList