*Solved the time counting bug