added example to doc