added isinGroup