allow one millisecond instead of one second difference for delay vs d1