samples as a tutorial