creating iterations