restore this->grouped, but add an option for it