simplify two methods a bit, because they are not used for group search anymore