Got looping working.