Version 2. (Adjusted groups)