add simple for loop sample