move to env.AttrSet