funcs now working on for loops, starting reversegraph..