Fixed delay variable to actually work