add some rtc code

cannot work