removed final declaration of group number to allow it to revert to the
ground count if value is less than 1