changing the type of delay