Converted time_frame from ticks to secs