allow for arrays of objects