Modify new_s_group/1, state recording, and synchronisation