add flexible attribute configuration function