reverted some changes i made to delete_clique