renamed router to supervisor