Modularizing. Tsort.