private float match(Suspect target,Suspect suspect){
		Category[] order= helper.getCategoryOrder();

		float distance= 0;//target.getEntries().length;

		int[] susEntries= suspect.getEntries();
		int a=0,b=0;

		for(int i=0; i<target.getEntries().length; i++){
			a=target.getEntries()[i];
			b=susEntries[i];

			if(a==1 && b==1){
				distance= distance+(3*order[i].getWeight());
			}
			else if(a==0 && b==0){
				distance= distance+(0*order[i].getWeight());
			}
			else if(a==1 && b==0){
				distance= distance-(1*order[i].getWeight());
			}
			else if(a==0 && b==1){
				distance= distance-(1*order[i].getWeight());
			}

			/*
			if(a == b){
				distance = distance-(1*order[i].getWeight());
			}else {
				distance = distance+(1*order[i].getWeight());
			}
			 */
		}
		return distance;
	}