prepare for new iteration