added groups and group ownership