Change variable name from "time" to "delay"