You could define the properties in a foreach, then loop over that array.