Fixed hoopas crazy code

HE DOESNT KNOW HOW TO USE FOREACH!