setup iteration