Adding time counter