public void addElement(E element) {
		if (array.length > currentSize) {
			array[currentSize] = element;
			currentSize++;
		} else {
			checkEnoughCapacity(1);
			array[currentSize] = element;
			currentSize++;
		}

	}