added graph seg