simple looping example added