checks for group creation and group removal were done