add closing curly in example, fixes #8