Developed new clock algorithm with Timer 3