#356: Declare the group variable before using it