insert missing close brace

The code snippet was missing a `}`. Added it.