routing with ratings (still not functional)