card #92 - simplified getGroups