added function to roles