added getgroups