use router to pull data