RTC subroutine move to UTILITIES