doing things iteratively