add an example of looping