This method Returns the index of the smallest element in the arrayOfInts, beginning the search from fromIndex. My returnVal is underlined in red and it says that my returnVal has not been initialized which tells me that my for-loop is not being iterated.

```
public static int findMin( int fromIndex, Integer[] arrayOfInts ) {

    int returnVal;
    int previousVal = arrayOfInts[fromIndex].intValue();

    for(int i = fromIndex; i < arrayOfInts.length; i++){

        if (arrayOfInts[fromIndex].intValue() <= previousVal){
            previousVal = arrayOfInts[fromIndex].intValue();
            returnVal = fromIndex;
        }
    }

    return returnVal;
}

```