public boolean repExists(long zobrist) {
		int hashkey = (int) (zobrist % HASHSIZE);

		if (hashtable[hashkey] == 0)
			return false;
		else if (hashtable[hashkey] == zobrist)
			return true;

		for (int i = 1; i < HASHSIZE; i++) {
			if (hashtable[(hashkey + i) % HASHSIZE] == 0) {
				return false;
			} else if (hashtable[(hashkey + i) % HASHSIZE] == zobrist) {
				return true;
			}
		}
		return false;
	} // END repExists