example1 finished.