Added foreach loop, TESTING