example code generated during tutorial