added topological sort info