init in router