allow defining an array of attributes