removed unnecessary getroles method call