Replaced while with foreach
Replaced while with foreach

virtuoushub/fuzzy-octo-shame,Hornswaggler/fuzzy-octo-shame,FOShameDotOrg/fuzzy-octo-shame,virtuoushub/fuzzy-octo-shame,FOShameDotOrg/fuzzy-octo-shame