Working on traffic algorithm. Nearly finished.