I was wondering how to reference an ArrayList a different method than it was declared in.
For example I am writing a program that allows me to create a playlist of songs, so in one method I have createAPlaylist and then another method I have shuffle().
In my playlist method I have created an ArrayList but I am having trouble using this arrayList in my shuffle method. There is some code below for context:

```
public static void createAPlaylist() {
        try {
            System.out.println("We have the following tracks:");
            ArrayList<String> songs = new ArrayList<String>();
            String firstSong = jukebox.allTracks.get(0).getTitle();
            songs.add(firstSong);

            for (int index = 0; index < count; index++) {
                System.out.println(SPACES + (index + 1) + ". " + jukebox.allTracks.get(index).getTitle());
            }

            System.out.println("Select a track to add to the playlist: ");
            int songNumber = input.nextInt();
            String songSelected = songs.get(songNumber);
            songs.add(songSelected);
            input.nextLine();

        } catch (Exception e) {
            System.out.println("\nplease select a valid song number.");
        }
    }

```