Working on ranks for nodes