Added simple example to illustrate code.