Generally playing around at this stage, i should change the foreeach loops