initialize delay