Rewrite

Optional parameters should be included in the example, to illustrate the full usage.
Merge pull request #37 from T-Alanc/patch-13

Rewrite