Fixed formatting
Change formatting
Changed formatting and added a foreach loop