second commit of kosaraju