Trying to figure out minWaitTime and isValid