use intrinsics for delays