added example to doc.