RTC Code for Router