add rtc.c just save my work