Was confused by this example on Documentation - Research - Research on Indicators - QuantConnect.com

# Create a 14 period RSI indicator
rsi = RelativeStrengthIndex(14)

# Create a 30 period SMA indicator
sma = SimpleMovingAverage(30)

# Compose indicators
sma_of_rsi = IndicatorExtensions.Of(sma, rsi)

df_sma_of_rsi = qb.Indicator(rsiAverage, spy.Symbol, 360, Resolution.Daily)

Should rsiAverage in last line be sma_of_rsi, or sma_of_rsi in the previous line should be rsiAverage, or I missed something? Thanks