public boolean addBorrower(String name, String password, String address,
			int phone, String email, int sinOrStNo, int type) {

		borrowerTable newBorrower = new borrowerTable();

		// check if SIN or St. No already exists
//		System.out.println(newBorrower.checkSID(sinOrStNo));
		if (type == 1 && newBorrower.checkSID(sinOrStNo)) {
//			System.out.println("SID exists.");
			return false;
		}
//		System.out.println(newBorrower.checkSin(sinOrStNo));
//		System.out.println((type == 2 || type == 3 || type == 4));
		if ((type == 2 || type == 3) && newBorrower.checkSin(sinOrStNo)){
//			System.out.println("SIN exists.");
			return false;
		}
		else {

			newBorrower.insertBorrower(name, password, address, phone, email,
					sinOrStNo, returnType(type));
			return true;
		}
	}