Added an example of loops.