public void run(){
		AudioInputStream stream = null;
		for (int i = (int) (Math.random() * songs1.size()); i < songs1.size(); i++){
	        try {
	            // open the audio input stream
	            stream = AudioSystem.getAudioInputStream(songs1.get(i));

	            format = stream.getFormat();

	            // get the audio samples
	            samples = getSamples(stream);
	        }
	        catch (UnsupportedAudioFileException ex) {
	            ex.printStackTrace();
	        }
	        catch (IOException ex) {
	            ex.printStackTrace();
	        }
	        
	        InputStream stream2 = new ByteArrayInputStream(getSamples());
			play(stream2);
			if (i == songs1.size() - 1 && !kill && playing) i = 0;
		}
	}