Adapted delay (still need more tests, especially with jedi)