public static ArrayList<String> getPaymentStatusKickboxing(Member member){
		ArrayList<String> paymentDefaults=new ArrayList<String>();
		paymentDefaults.add("Payments from "+member.getName()+":");
		Calendar c=Calendar.getInstance();
		Calendar minusYear=Calendar.getInstance();
		minusYear.add(Calendar.YEAR,-1);
		
		Session session=startSession();
		// Check insurance is paid
		List<Payment> paymentList=session.createQuery("From Payment WHERE "
				+"memberCode="+member.getMemberCode()+" AND paymentTypeId=24"
				+" ORDER BY paymentTo DESC").list();
		session.getTransaction().commit();
		//System.out.println("PaymentListSize="+paymentList.size());
		if(paymentList.size()>0){
			Payment p=paymentList.get(0);
			//System.out.println("Payment "+p.getPaymentId()+" "+p);
			Calendar today=Calendar.getInstance();
			Calendar paymentTo=new GregorianCalendar();
			today.set(Calendar.HOUR,0);
			paymentTo.setTime(p.getPaymentTo());
			if(paymentTo.before(today)) paymentDefaults.add(
					"Kickboxing insurance not up to date. - Last paid up to "+dobDateFormat.format(p.getPaymentTo()));
		}else paymentDefaults.add("Kickboxing insurance not paid");
		
		//System.out.println(member.getName()+"AGE (at term start)="+member.getAgeAtTermStart());
		//if(member.getAgeAtTermStart()>16){
			Session session2=startSession();
		// Check Adult IUTF is paid
		List<Payment> paymentListIUTF=session2.createQuery("From Payment WHERE "
				+"memberCode="+member.getMemberCode()+" AND paymentTypeId=22"
				+" ORDER BY paymentTo DESC").list();
		session2.getTransaction().commit();
		System.out.println("PaymentListSize="+paymentListIUTF.size());
		if(paymentListIUTF.size()>0){
			Payment p=paymentListIUTF.get(0);
			System.out.println("Payment "+p.getPaymentId()+" "+p);
			Calendar today=Calendar.getInstance();
			today.set(Calendar.HOUR,0);
			Calendar paymentTo=new GregorianCalendar();
			paymentTo.setTime(p.getPaymentTo());
			if(paymentTo.before(today)) paymentDefaults.add(
					"WKU membership not up to date. - Last paid up to "+dobDateFormat.format(p.getPaymentTo()));
		}else paymentDefaults.add("WKU membership not paid");
		//}
		/*else{
			Session session2=startSession();
		// Check Child IUTF is paid
				List<Payment> paymentListIUTFChild=session2.createQuery("From Payment WHERE "
						+"memberCode="+member.getMemberCode()+" AND paymentTypeId=5"
						+" ORDER BY paymentTo DESC").list();
				session2.getTransaction().commit();
				System.out.println("PaymentListSize="+paymentListIUTFChild.size());
				if(paymentListIUTFChild.size()>0){
					Payment p=paymentListIUTFChild.get(0);
					System.out.println("Payment "+p.getPaymentId()+" "+p);
					Calendar today=Calendar.getInstance();
					Calendar paymentTo=new GregorianCalendar();
					paymentTo.setTime(p.getPaymentTo());
					if(paymentTo.before(today)) paymentDefaults.add(
							"Child IUTF membership not up to date. \nLast paid up to "+dobDateFormat.format(p.getPaymentTo()));
				}else paymentDefaults.add("Child IUTF membership not paid");
		}*/
		
		Session session3=startSession();
		// Check when TKD fees have been paid up until
		String paymentUntilDate=null;
		List<Payment> paymentListTKDFees=session3.createQuery("From Payment WHERE "
				+"memberCode="+member.getMemberCode()+" AND (paymentTypeId=20 OR paymentTypeId=21)"
				+" ORDER BY paymentTo DESC").list();
		session3.getTransaction().commit();
		System.out.println("PaymentListSize="+paymentListTKDFees.size());
		if(paymentListTKDFees.size()>0){
			Payment p=paymentListTKDFees.get(0);
			System.out.println("Payment "+p.getPaymentId()+" "+p);
			Calendar today=Calendar.getInstance();
			today.set(Calendar.HOUR,0);
			Calendar paymentTo=new GregorianCalendar();
			paymentTo.setTime(p.getPaymentTo());
			if(paymentTo.before(today)) paymentDefaults.add(
					"Kickboxing fees not up to date. - Last paid up to "+dobDateFormat.format(p.getPaymentTo()));
		else if(paymentTo.after(today)) paymentUntilDate=" until "+dobDateFormat.format(p.getPaymentTo());
		}else paymentDefaults.add("Kickboxing fees not paid");
		
		
		
		if((paymentUntilDate!=null)) paymentDefaults.add(1,"Payments for Kickboxing"+paymentUntilDate+" up to date");
		//for(String s:paymentDefaults){ System.out.println(s);}
		return paymentDefaults;
	}