@Override
	public boolean contains(T element) {
		int hashCode = element.hashCode() % hashTable.size();
		int i = hashCode;
		int j = 0;
		while (hashTable.get(i) != null) {
			if (hashTable.get(i).equals(element)) {
				return true;
			}
			//special case for last hash spot
			if(hashTable.get(hashTable.size()-1) != null && hashTable.get(hashTable.size()-1).equals(element)){
				return true;
			}
			i++;
			if ((hashCode + i) >= hashTable.size()) {
				hashCode = 0;
				i = 0;
			}	
			if(j > 10){
				return false;
			}
			j++;
		}
		return false;
	}