an array and a foreach