Timing works now using millis