Pair programming has been used for these commits.  moved an int declaration out of a loop so you do not have to create an int every time