added delay for animation to parallel optimization