adding timing_gen