removed old roles function