changed group variable to $GROUP