adding attr to context