modified time_cycle_init function

Signed-off-by: Kevin <kevin@eichenbergs.info>