public void updateRecomendations() {
		eventList.clear();
		recomendationType.clear();
		view.getResults().clear();
		Database db = Database.getInstance();
		LinkedHashSet<String>eventListNamesForSameArtist = new LinkedHashSet<String>();
		LinkedHashSet<String>eventListNamesForSimilarArtist = new LinkedHashSet<String>();
		LinkedHashSet<String>eventListNamesForSameGenre = new LinkedHashSet<String>();




		eventListNamesForSameArtist.addAll(db.sameArtistyouAttendedPlaysOnADifferentEvent());
		eventListNamesForSimilarArtist.addAll(db.ArtistyouAttendedHaveSimilar_TOWhoPlaysOnADifferentEvent());
		eventListNamesForSameGenre.addAll(db.getEventsBasedOnAttendedArtistsGenre());

		for(String string : eventListNamesForSameArtist){
			eventList.add(db.getModelInfoFromEvent(string));
			recomendationType.add("We have recommended this because you have attended a concert from the same artist artist plays another concert");
		}
		for(String string : eventListNamesForSimilarArtist){
			eventList.add(db.getModelInfoFromEvent(string));
			recomendationType.add("We have recommended this because a similar artist plays nearby");
		}
		for(String string : eventListNamesForSameGenre){
			eventList.add(db.getModelInfoFromEvent(string));
			recomendationType.add("We have Recommended this because another artist of the same genre plays");
		}
		if(eventList.size()==0){
			JOptionPane.showMessageDialog(view, "No Recommendations found, you need to attend concerts.");
		}
		else{
			placeRecommendedEvent(eventList, recomendationType);
		}


	}