finished adding attr to context