Added group linking functionality