future division
node ranking
minor refactoring