More Delay functions, more efficient algo