adding rest of groups and roles f(x)