code refactoring. RTC.getTime() in each print function. time_secs --> time