changes router model class slightly