public static boolean addNameDataToDB(ArrayList<NameData> nameData) {
		
		try {
			check();
			
			if(nameData == null) return false;
			
			for(NameData nd : nameData) {
				
				String mname = nd.getMediaName();
				String aname = nd.getArtName();
				String date = dateFormat.format(nd.getDate().getTime()) + "-00";
				int type = nd.getType();
				
				if(type != 2) {
					createNameData(mname, aname, date, type);
				}
								
			}
			
			return true;
		}
		catch(Exception e) {
			return false;
		}	
		
	}