bottomGroup refactor