Add itterations functionality