changed naming of delay