basic rtc integration