moved rtc into sources