example of how to set options

The example wasn't really helpful to indicate how to set options. I tried to fix it.