add some repeated example code