timeDiff is floating point, use fabs()