add changes for 2 groups