Added ending brackets to example code