State machine is working with multiple routers