got the formatting correct. need to correct foreach loop for item