updated example to remote curly brackets