I really hate that I put this iteration counter in here.