now group assignment works