Add braces in example code

Without those braces it doesn't work for me