Added timer initialization