Add the missing right bracket in the sample code