add rtc sample