Trying to make a switch on some arrays to arrayLists