Changed variable "auto" to "delay"