Add iteration to the constructor
function.