repeat loop also needs blocks