moved attributes to the role instead