add collection attribute