Specify delay according to stimulus.