Get rid of the double loop
Merge pull request #4 from BeyondTheClouds/quickFix

Get rid of the double loop