different way to flag vertices that include other graph elements
remove useless line