public void run() {

		while (true) {
			//System.out.println("in FullBackBrain");
			try {
				Thread.sleep(100);
			} catch (InterruptedException e1) {
				// TODO Auto-generated catch block
				e1.printStackTrace();
			}

			if(f.getMem().timeCheck(f.getTime())) {
				f.setTime(f.getMemTime());

				try {
					f.runDefense();
				} catch (UnknownHostException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				} catch (InterruptedException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}			
			}		
		}
	}