added docs for iteratewhile