Implemented group switching