I figured someone would've replied to you by now, but since they haven't let me break the ice.
- What is you overall functional goal? Don't speak in code, just tell us what your business requirement is.
- What determines whether you want to iterate once or twice?
- Please show your code for iterating once. I only see the code for iterating twice.