def reclass_hydro(grand_proc, new_class):
    """ Creates a simplified dam main use category that indicates whether hydroelectric
    is listed as a primary or secondary purpose for a dam and will refer to it simply as
    hydroelectric. 
    
    Parameters
    -----------
    grand_proc : geodataframe
        Processed geodataframe to add new column
    
    new_class : string
        Name of new dam main use column to be created
    
    Returns
    --------
    grand_proc :geodataframe
        The geodataframe with the added newly created column
    """
    grand_proc[new_class]=grand_proc['MAIN_HYDEXP']
    grand_proc.loc[(grand_proc['MAIN_HYDEXP']== 'Hydro_irrig')|
                (grand_proc['MAIN_HYDEXP']== 'Hydro_water')|
                (grand_proc['MAIN_HYDEXP']== 'Hydro_navig')|
                (grand_proc['MAIN_HYDEXP']== 'Hydro_flood')|
                (grand_proc['MAIN_HYDEXP']== 'Hydro_other')|
                (grand_proc['MAIN_HYDEXP']== 'Hydroelectricity'), new_class] = 'Hydroelectricity'
    
    return grand_proc