Minor fix to the example

Fixed typo required to require.