made timer more precisely