Timing problem with millis

even if this works it will lose the option of any timing that i would want