add rtc library