Added sample and documentation