class to group