added groups (using relationship table)