Looping support, fugly example application