separate config from attribute