private void updateUnknown(DatabaseBE tempDB){
		//see if is known, if is then search for company in companies, 
		//if find, add transaction, if not add company and add transaction
		//if not known, add to backend and leave in unknown
		unknown.getTransactionList().current = unknown.getTransactionList().head;
		while (unknown.getTransactionList().current!=null){
			found=false;
			//If transaction is in BE known list
			if (tempDB.isKnown(unknown.getTransactionList().getCurrent().getData())){
//System.out.println("Transaction Is Known: "+unknown.getTransactionList().getCurrent().getData());
				companies.current=companies.head;
				//iterate through FE companies to see if it'a already in the list
				while (companies.current!=null){
					//If find company in FE list
					if (companies.getCurrent().getData().getCompanyName().equals(tempDB.getCurrentCo().getCompanyName())){
//System.out.println("Company is already in list");
						found=true;
						//Did not find transaction
						//add current transaction from unknown to known company					
						companies.getCurrent().getData().addTransaction(unknown.getTransactionList().getCurrent().getData());
						distributeAmount(unknown.getTransactionList().getCurrent().getData(), companies.getCurrent().getData());
						//add total to company
						unknown.getTransactionList().remove();
						break;
					}
					companies.current = companies.current.getLink();
				}
				if (!found){
//System.out.println("Company was not in list");
					//Did not find company in FE, add to companies
					CompanyFE newCompanyFE = new CompanyFE(tempDB.getCurrentCo().isGood(), tempDB.getCurrentCo().getCompanyName(), tempDB.getCurrentCo().getTypeOfCompany());
					newCompanyFE.addTransaction(unknown.getTransactionList().getCurrent().getData());
					distributeAmount(unknown.getTransactionList().getCurrent().getData(), newCompanyFE);
					unknown.getTransactionList().remove();
					companies.add(newCompanyFE);
				}
			} 
			else { //Could not find in known companies, whatever is left over add to BEunknown
//System.out.println("Transaction Is Unknown: "+unknown.getTransactionList().getCurrent().getData());
				distributeAmount(unknown.getTransactionList().getCurrent().getData(), unknown);
				if (!tempDB.isUnknown(unknown.getTransactionList().getCurrent().getData())){
					TransactionBE newTBE = new TransactionBE(unknown.getTransactionList().getCurrent().getData().getDescription(),null);
					tempDB.getUnknown().add(newTBE);
				}						
			}
//System.out.print(unknown.getTransactionList().length()+": ");
			unknown.getTransactionList().previous = unknown.getTransactionList().current;
			unknown.getTransactionList().current = unknown.getTransactionList().current.getLink();
		}
	}