I'll change this to a foreach