added documentation for samples