corrected tempDelay to 30 mins