public String loopsound(String url){
		int check=0;
		while(loops.containsKey(url+check)) check++;
		try{
			Clip clip = AudioSystem.getClip();
			if(!refs.containsKey(url)) throw new Error("sound nonexsisting");
			clip.open(refs.get(url));
			clip.loop(Clip.LOOP_CONTINUOUSLY);
		}catch(Exception e){
			e.printStackTrace();
			throw new Error(e);
		}
		return url+check;
	}