public ArrayList<Part> getFilteredParts() {
		ArrayList<Part> filtPart = new ArrayList<Part>();
		for(int i=0; i< partList.size(); i++) {
			Part p = partList.get(i);
			boolean flag = true;
			if (!filterString.equals("")) {
				flag = p.name.toLowerCase().contains(filterString);
				flag |= p.notes.toLowerCase().contains(filterString);
				flag |= p.description.toLowerCase().contains(filterString);
				if (p.checkedOut)
					flag |= p.whoChecked.toLowerCase().contains(filterString);
				else 
					flag |= "available".contains(filterString);
				flag |= p.location.name.toLowerCase().contains(filterString);
				flag |= String.valueOf(p.quantity).toLowerCase().contains(filterString);
			}
			if (flag) {
				filtPart.add(p);
			}
		}
		return filtPart;
	}