added correct delay in between temperature readings