implement delete group