making role non-attr accessible