make helper for groups views