add some in rtc.c