checks before creating group