add custom attr and association