Added sample to illustrate new functionality